package com.oracle.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.oracle.pojo.Publicity;

import java.util.List;

public interface PublicityService {
    IPage<Publicity> findPublicity(Publicity publicity,Integer pageNum,Integer pageSize);
    Publicity findOnePublicity(Integer id);
    Publicity findOnePublicityByState(Integer state);
    int insertPublicity (Publicity publicity);
    int updatePublicity (Publicity publicity);
    int deletePublicity (List<Integer> tipId);
}
